package com.tom.chain_of_responsibility.v3.impl;

import com.tom.chain_of_responsibility.v3.GeneralChainHandler;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Service;

/**
 * @author zx
 * @date 2024-10-10 21:41
 */
@Service
@Order(1)
public class OtherType extends GeneralChainHandler<Object, Boolean> {

    @Override
    public Boolean handleRequest(Object userSearchReq) {
        System.out.println("这个是其他类型的责任链节点，" +
                "不再请求责任链中....,那么在组装请求责任链的时候,就不要把改节点放进去了");
        return true;
    }
}
